Advanced Perl Programming by William “Bo” Rothwell

Advanced Perl Programming by William “Bo” Rothwell

Author:William “Bo” Rothwell
Language: eng
Format: epub
ISBN: 9781484258637
Publisher: Apress


This is an easy problem to solve. You can either specify all identifiers that you want imported:#!perl

#ex4.pl

use Testok qw(&noprint &printout);

&printout;

&noprint;

Or, you can use two use statements:#!perl

#ex5.pl

use Testok;

use Testok qw(&noprint);

&printout;

&noprint;

Module version numbers

If you update your module, you will want to keep track of different versions. The best way of doing this is to use the $VERSION variable:#Testver.pm

package Testver;

BEGIN {

use Exporter();

@ISA=qw(Exporter);

$VERSION=1.03;

@EXPORT=qw(&printout);

@EXPORT_OK=qw(&noprint);

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.